#include "Keyboard.h"

bool CKeyboard::KeyDown(SDLKey key)
{
  return m_keys[key];
}

bool CKeyboard::KeyUp(SDLKey key)
{
  return !(m_keys[key]);
}

bool CKeyboard::Update()
{
  m_keys = SDL_GetKeyState(NULL);		
  return true;
}
